package com.xteam.ecsystem.entities;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品信息表
 * 
 * @author tangkf
 * @date 2012-08-14
 */
public class BaseGoodsInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 类名称
	 */
	public static final String REF = "BaseGoodsInfo";

	/**
	 * 系统ID 的属性名
	 */
	public static final String PROP_BGIID = "bgiId";

	/**
	 * 商品名称 的属性名
	 */
	public static final String PROP_BGINAME = "bgiName";

	/**
	 * 商品货号 的属性名
	 */
	public static final String PROP_BGIGSN = "bgiGsn";

	/**
	 * 商品分类 的属性名
	 */
	public static final String PROP_BGIGROUP = "bgiGroup";

	/**
	 * 商品品牌 的属性名
	 */
	public static final String PROP_BGIBRAND = "bgiBrand";

	/**
	 * 商品供货商 的属性名
	 */
	public static final String PROP_BGISUPPLIER = "bgiSupplier";

	/**
	 * 本店售价 的属性名
	 */
	public static final String PROP_BGIPRICE = "bgiPrice";

	/**
	 * 市场售价 的属性名
	 */
	public static final String PROP_BGIMARKET = "bgiMarket";

	/**
	 * 商品特色 的属性名
	 */
	public static final String PROP_BGIFEATURE = "bgiFeature";

	/**
	 * 详细描述 的属性名
	 */
	public static final String PROP_BGIDETAIL = "bgiDetail";

	/**
	 * 商品规格 的属性名
	 */
	public static final String PROP_BGISTANDARD = "bgiStandard";

	/**
	 * 商品重量 的属性名
	 */
	public static final String PROP_BGIWEIGHT = "bgiWeight";

	/**
	 * 商品数量 的属性名
	 */
	public static final String PROP_BGINUMBER = "bgiNumber";

	/**
	 * 警告数量 的属性名
	 */
	public static final String PROP_BGIWARN = "bgiWarn";

	/**
	 * 精品推荐（0-否，1-是） 的属性名
	 */
	public static final String PROP_BGIBEST = "bgiBest";

	/**
	 * 新品推荐（0-否，1-是） 的属性名
	 */
	public static final String PROP_BGINEW = "bgiNew";

	/**
	 * 热销推荐（0-否，1-是） 的属性名
	 */
	public static final String PROP_BGIHOT = "bgiHot";

	/**
	 * 团购推荐（0-否，1-是） 的属性名
	 */
	public static final String PROP_BGIBUY = "bgiBuy";

	/**
	 * 上架时间 的属性名
	 */
	public static final String PROP_BGION = "bgiOn";

	/**
	 * 下架时间 的属性名
	 */
	public static final String PROP_BGIOFF = "bgiOff";

	/**
	 * 商品排序（大于等于0，倒序） 的属性名
	 */
	public static final String PROP_BGIORDER = "bgiOrder";

	/**
	 * 排序日期 的属性名
	 */
	public static final String PROP_BGIOTIME = "bgiOtime";

	/**
	 * 关键词 的属性名
	 */
	public static final String PROP_BGIKEYWORD = "bgiKeyword";

	/**
	 * 商品状态（0-无效，1-有效） 的属性名
	 */
	public static final String PROP_BGISTATE = "bgiState";

	/**
	 * 系统ID
	 */
	private java.lang.String bgiId;

	/**
	 * 商品名称
	 */
	private java.lang.String bgiName;

	/**
	 * 商品货号
	 */
	private java.lang.String bgiGsn;

	/**
	 * 商品分类
	 */
	private java.lang.String bgiGroup;

	/**
	 * 商品品牌
	 */
	private java.lang.String bgiBrand;

	/**
	 * 商品供货商
	 */
	private java.lang.String bgiSupplier;

	/**
	 * 本店售价
	 */
	private java.lang.Double bgiPrice;

	/**
	 * 市场售价
	 */
	private java.lang.Double bgiMarket;

	/**
	 * 商品特色
	 */
	private java.lang.String bgiFeature;

	/**
	 * 详细描述
	 */
	private java.lang.String bgiDetail;

	/**
	 * 商品规格
	 */
	private java.lang.String bgiStandard;

	/**
	 * 商品重量
	 */
	private java.lang.Double bgiWeight;

	/**
	 * 商品数量
	 */
	private java.lang.Integer bgiNumber;

	/**
	 * 警告数量
	 */
	private java.lang.Integer bgiWarn;

	/**
	 * 精品推荐（0-否，1-是）
	 */
	private java.lang.Integer bgiBest;

	/**
	 * 新品推荐（0-否，1-是）
	 */
	private java.lang.Integer bgiNew;

	/**
	 * 热销推荐（0-否，1-是）
	 */
	private java.lang.Integer bgiHot;

	/**
	 * 团购推荐（0-否，1-是）
	 */
	private java.lang.Integer bgiBuy;

	/**
	 * 上架时间
	 */
	private java.util.Date bgiOn;

	/**
	 * 下架时间
	 */
	private java.util.Date bgiOff;

	/**
	 * 商品排序（大于等于0，倒序）
	 */
	private java.lang.Integer bgiOrder;

	/**
	 * 排序日期
	 */
	private java.util.Date bgiOtime;

	/**
	 * 关键词
	 */
	private java.lang.String bgiKeyword;

	/**
	 * 商品状态（0-无效，1-有效）
	 */
	private java.lang.Integer bgiState;

	/**
	 * 获取 系统ID 的属性值
	 * 
	 * @return bgiId : 系统ID
	 * @author tangkf
	 */
	public java.lang.String getBgiId() {
		return this.bgiId;
	}

	/**
	 * 设置 系统ID 的属性值
	 * 
	 * @param bgiId :
	 *            系统ID
	 * @author tangkf
	 */
	public void setBgiId(java.lang.String bgiId) {
		this.bgiId = bgiId;
	}

	/**
	 * 获取 商品名称 的属性值
	 * 
	 * @return bgiName : 商品名称
	 * @author tangkf
	 */
	public java.lang.String getBgiName() {
		return this.bgiName;
	}

	/**
	 * 设置 商品名称 的属性值
	 * 
	 * @param bgiName :
	 *            商品名称
	 * @author tangkf
	 */
	public void setBgiName(java.lang.String bgiName) {
		this.bgiName = bgiName;
	}

	/**
	 * 获取 商品货号 的属性值
	 * 
	 * @return bgiGsn : 商品货号
	 * @author tangkf
	 */
	public java.lang.String getBgiGsn() {
		return this.bgiGsn;
	}

	/**
	 * 设置 商品货号 的属性值
	 * 
	 * @param bgiGsn :
	 *            商品货号
	 * @author tangkf
	 */
	public void setBgiGsn(java.lang.String bgiGsn) {
		this.bgiGsn = bgiGsn;
	}

	/**
	 * 获取 商品分类 的属性值
	 * 
	 * @return bgiGroup : 商品分类
	 * @author tangkf
	 */
	public java.lang.String getBgiGroup() {
		return this.bgiGroup;
	}

	/**
	 * 设置 商品分类 的属性值
	 * 
	 * @param bgiGroup :
	 *            商品分类
	 * @author tangkf
	 */
	public void setBgiGroup(java.lang.String bgiGroup) {
		this.bgiGroup = bgiGroup;
	}

	/**
	 * 获取 商品品牌 的属性值
	 * 
	 * @return bgiBrand : 商品品牌
	 * @author tangkf
	 */
	public java.lang.String getBgiBrand() {
		return this.bgiBrand;
	}

	/**
	 * 设置 商品品牌 的属性值
	 * 
	 * @param bgiBrand :
	 *            商品品牌
	 * @author tangkf
	 */
	public void setBgiBrand(java.lang.String bgiBrand) {
		this.bgiBrand = bgiBrand;
	}

	/**
	 * 获取 商品供货商 的属性值
	 * 
	 * @return bgiSupplier : 商品供货商
	 * @author tangkf
	 */
	public java.lang.String getBgiSupplier() {
		return this.bgiSupplier;
	}

	/**
	 * 设置 商品供货商 的属性值
	 * 
	 * @param bgiSupplier :
	 *            商品供货商
	 * @author tangkf
	 */
	public void setBgiSupplier(java.lang.String bgiSupplier) {
		this.bgiSupplier = bgiSupplier;
	}

	/**
	 * 获取 本店售价 的属性值
	 * 
	 * @return bgiPrice : 本店售价
	 * @author tangkf
	 */
	public java.lang.Double getBgiPrice() {
		return this.bgiPrice;
	}

	/**
	 * 设置 本店售价 的属性值
	 * 
	 * @param bgiPrice :
	 *            本店售价
	 * @author tangkf
	 */
	public void setBgiPrice(java.lang.Double bgiPrice) {
		this.bgiPrice = bgiPrice;
	}

	/**
	 * 获取 市场售价 的属性值
	 * 
	 * @return bgiMarket : 市场售价
	 * @author tangkf
	 */
	public java.lang.Double getBgiMarket() {
		return this.bgiMarket;
	}

	/**
	 * 设置 市场售价 的属性值
	 * 
	 * @param bgiMarket :
	 *            市场售价
	 * @author tangkf
	 */
	public void setBgiMarket(java.lang.Double bgiMarket) {
		this.bgiMarket = bgiMarket;
	}

	/**
	 * 获取 商品特色 的属性值
	 * 
	 * @return bgiFeature : 商品特色
	 * @author tangkf
	 */
	public java.lang.String getBgiFeature() {
		return this.bgiFeature;
	}

	/**
	 * 设置 商品特色 的属性值
	 * 
	 * @param bgiFeature :
	 *            商品特色
	 * @author tangkf
	 */
	public void setBgiFeature(java.lang.String bgiFeature) {
		this.bgiFeature = bgiFeature;
	}

	/**
	 * 获取 详细描述 的属性值
	 * 
	 * @return bgiDetail : 详细描述
	 * @author tangkf
	 */
	public java.lang.String getBgiDetail() {
		return this.bgiDetail;
	}

	/**
	 * 设置 详细描述 的属性值
	 * 
	 * @param bgiDetail :
	 *            详细描述
	 * @author tangkf
	 */
	public void setBgiDetail(java.lang.String bgiDetail) {
		this.bgiDetail = bgiDetail;
	}

	/**
	 * 获取 商品规格 的属性值
	 * 
	 * @return bgiStandard : 商品规格
	 * @author tangkf
	 */
	public java.lang.String getBgiStandard() {
		return this.bgiStandard;
	}

	/**
	 * 设置 商品规格 的属性值
	 * 
	 * @param bgiStandard :
	 *            商品规格
	 * @author tangkf
	 */
	public void setBgiStandard(java.lang.String bgiStandard) {
		this.bgiStandard = bgiStandard;
	}

	/**
	 * 获取 商品重量 的属性值
	 * 
	 * @return bgiWeight : 商品重量
	 * @author tangkf
	 */
	public java.lang.Double getBgiWeight() {
		return this.bgiWeight;
	}

	/**
	 * 设置 商品重量 的属性值
	 * 
	 * @param bgiWeight :
	 *            商品重量
	 * @author tangkf
	 */
	public void setBgiWeight(java.lang.Double bgiWeight) {
		this.bgiWeight = bgiWeight;
	}

	/**
	 * 获取 商品数量 的属性值
	 * 
	 * @return bgiNumber : 商品数量
	 * @author tangkf
	 */
	public java.lang.Integer getBgiNumber() {
		return this.bgiNumber;
	}

	/**
	 * 设置 商品数量 的属性值
	 * 
	 * @param bgiNumber :
	 *            商品数量
	 * @author tangkf
	 */
	public void setBgiNumber(java.lang.Integer bgiNumber) {
		this.bgiNumber = bgiNumber;
	}

	/**
	 * 获取 警告数量 的属性值
	 * 
	 * @return bgiWarn : 警告数量
	 * @author tangkf
	 */
	public java.lang.Integer getBgiWarn() {
		return this.bgiWarn;
	}

	/**
	 * 设置 警告数量 的属性值
	 * 
	 * @param bgiWarn :
	 *            警告数量
	 * @author tangkf
	 */
	public void setBgiWarn(java.lang.Integer bgiWarn) {
		this.bgiWarn = bgiWarn;
	}

	/**
	 * 获取 精品推荐（0-否，1-是） 的属性值
	 * 
	 * @return bgiBest : 精品推荐（0-否，1-是）
	 * @author tangkf
	 */
	public java.lang.Integer getBgiBest() {
		return this.bgiBest;
	}

	/**
	 * 设置 精品推荐（0-否，1-是） 的属性值
	 * 
	 * @param bgiBest :
	 *            精品推荐（0-否，1-是）
	 * @author tangkf
	 */
	public void setBgiBest(java.lang.Integer bgiBest) {
		this.bgiBest = bgiBest;
	}

	/**
	 * 获取 新品推荐（0-否，1-是） 的属性值
	 * 
	 * @return bgiNew : 新品推荐（0-否，1-是）
	 * @author tangkf
	 */
	public java.lang.Integer getBgiNew() {
		return this.bgiNew;
	}

	/**
	 * 设置 新品推荐（0-否，1-是） 的属性值
	 * 
	 * @param bgiNew :
	 *            新品推荐（0-否，1-是）
	 * @author tangkf
	 */
	public void setBgiNew(java.lang.Integer bgiNew) {
		this.bgiNew = bgiNew;
	}

	/**
	 * 获取 热销推荐（0-否，1-是） 的属性值
	 * 
	 * @return bgiHot : 热销推荐（0-否，1-是）
	 * @author tangkf
	 */
	public java.lang.Integer getBgiHot() {
		return this.bgiHot;
	}

	/**
	 * 设置 热销推荐（0-否，1-是） 的属性值
	 * 
	 * @param bgiHot :
	 *            热销推荐（0-否，1-是）
	 * @author tangkf
	 */
	public void setBgiHot(java.lang.Integer bgiHot) {
		this.bgiHot = bgiHot;
	}

	/**
	 * 获取 团购推荐（0-否，1-是） 的属性值
	 * 
	 * @return bgiBuy : 团购推荐（0-否，1-是）
	 * @author tangkf
	 */
	public java.lang.Integer getBgiBuy() {
		return this.bgiBuy;
	}

	/**
	 * 设置 团购推荐（0-否，1-是） 的属性值
	 * 
	 * @param bgiBuy :
	 *            团购推荐（0-否，1-是）
	 * @author tangkf
	 */
	public void setBgiBuy(java.lang.Integer bgiBuy) {
		this.bgiBuy = bgiBuy;
	}

	/**
	 * 获取 上架时间 的属性值
	 * 
	 * @return bgiOn : 上架时间
	 * @author tangkf
	 */
	public java.util.Date getBgiOn() {
		return this.bgiOn;
	}

	/**
	 * 设置 上架时间 的属性值
	 * 
	 * @param bgiOn :
	 *            上架时间
	 * @author tangkf
	 */
	public void setBgiOn(java.util.Date bgiOn) {
		this.bgiOn = bgiOn;
	}

	/**
	 * 获取 下架时间 的属性值
	 * 
	 * @return bgiOff : 下架时间
	 * @author tangkf
	 */
	public java.util.Date getBgiOff() {
		return this.bgiOff;
	}

	/**
	 * 设置 下架时间 的属性值
	 * 
	 * @param bgiOff :
	 *            下架时间
	 * @author tangkf
	 */
	public void setBgiOff(java.util.Date bgiOff) {
		this.bgiOff = bgiOff;
	}

	/**
	 * 获取 商品排序（大于等于0，倒序） 的属性值
	 * 
	 * @return bgiOrder : 商品排序（大于等于0，倒序）
	 * @author tangkf
	 */
	public java.lang.Integer getBgiOrder() {
		return this.bgiOrder;
	}

	/**
	 * 设置 商品排序（大于等于0，倒序） 的属性值
	 * 
	 * @param bgiOrder :
	 *            商品排序（大于等于0，倒序）
	 * @author tangkf
	 */
	public void setBgiOrder(java.lang.Integer bgiOrder) {
		this.bgiOrder = bgiOrder;
	}

	/**
	 * 获取 排序日期 的属性值
	 * 
	 * @return bgiOtime : 排序日期
	 * @author tangkf
	 */
	public java.util.Date getBgiOtime() {
		return this.bgiOtime;
	}

	/**
	 * 设置 排序日期 的属性值
	 * 
	 * @param bgiOtime :
	 *            排序日期
	 * @author tangkf
	 */
	public void setBgiOtime(java.util.Date bgiOtime) {
		this.bgiOtime = bgiOtime;
	}

	/**
	 * 获取 关键词 的属性值
	 * 
	 * @return bgiKeyword : 关键词
	 * @author tangkf
	 */
	public java.lang.String getBgiKeyword() {
		return this.bgiKeyword;
	}

	/**
	 * 设置 关键词 的属性值
	 * 
	 * @param bgiKeyword :
	 *            关键词
	 * @author tangkf
	 */
	public void setBgiKeyword(java.lang.String bgiKeyword) {
		this.bgiKeyword = bgiKeyword;
	}

	/**
	 * 获取 商品状态（0-无效，1-有效） 的属性值
	 * 
	 * @return bgiState : 商品状态（0-无效，1-有效）
	 * @author tangkf
	 */
	public java.lang.Integer getBgiState() {
		return this.bgiState;
	}

	/**
	 * 设置 商品状态（0-无效，1-有效） 的属性值
	 * 
	 * @param bgiState :
	 *            商品状态（0-无效，1-有效）
	 * @author tangkf
	 */
	public void setBgiState(java.lang.Integer bgiState) {
		this.bgiState = bgiState;
	}

	/**
	 * 转换为字符串
	 * 
	 * @author tangkf
	 */
	public String toString() {
		return "{" + "bgiId(系统ID)=" + bgiId + "," + "bgiName(商品名称)=" + bgiName
				+ "," + "bgiGsn(商品货号)=" + bgiGsn + "," + "bgiGroup(商品分类)="
				+ bgiGroup + "," + "bgiBrand(商品品牌)=" + bgiBrand + ","
				+ "bgiSupplier(商品供货商)=" + bgiSupplier + "," + "bgiPrice(本店售价)="
				+ bgiPrice + "," + "bgiMarket(市场售价)=" + bgiMarket + ","
				+ "bgiFeature(商品特色)=" + bgiFeature + "," + "bgiDetail(详细描述)="
				+ bgiDetail + "," + "bgiStandard(商品规格)=" + bgiStandard + ","
				+ "bgiWeight(商品重量)=" + bgiWeight + "," + "bgiNumber(商品数量)="
				+ bgiNumber + "," + "bgiWarn(警告数量)=" + bgiWarn + ","
				+ "bgiBest(精品推荐（0-否，1-是）)=" + bgiBest + ","
				+ "bgiNew(新品推荐（0-否，1-是）)=" + bgiNew + ","
				+ "bgiHot(热销推荐（0-否，1-是）)=" + bgiHot + ","
				+ "bgiBuy(团购推荐（0-否，1-是）)=" + bgiBuy + "," + "bgiOn(上架时间)="
				+ bgiOn + "," + "bgiOff(下架时间)=" + bgiOff + ","
				+ "bgiOrder(商品排序（大于等于0，倒序）)=" + bgiOrder + ","
				+ "bgiOtime(排序日期)=" + bgiOtime + "," + "bgiKeyword(关键词)="
				+ bgiKeyword + "," + "bgiState(商品状态（0-无效，1-有效）)=" + bgiState
				+ "}";
	}

	/**
	 * 转换为 JSON 字符串
	 * 
	 * @author tangkf
	 */
	public String toJson() {
		return "{" + "bgiId:'" + bgiId + "'," + "bgiName:'" + bgiName + "',"
				+ "bgiGsn:'" + bgiGsn + "'," + "bgiGroup:'" + bgiGroup + "',"
				+ "bgiBrand:'" + bgiBrand + "'," + "bgiSupplier:'"
				+ bgiSupplier + "'," + "bgiPrice:'" + bgiPrice + "',"
				+ "bgiMarket:'" + bgiMarket + "'," + "bgiFeature:'"
				+ bgiFeature + "'," + "bgiDetail:'" + bgiDetail + "',"
				+ "bgiStandard:'" + bgiStandard + "'," + "bgiWeight:'"
				+ bgiWeight + "'," + "bgiNumber:'" + bgiNumber + "',"
				+ "bgiWarn:'" + bgiWarn + "'," + "bgiBest:'" + bgiBest + "',"
				+ "bgiNew:'" + bgiNew + "'," + "bgiHot:'" + bgiHot + "',"
				+ "bgiBuy:'" + bgiBuy + "'," + "bgiOn:'" + bgiOn + "',"
				+ "bgiOff:'" + bgiOff + "'," + "bgiOrder:'" + bgiOrder + "',"
				+ "bgiOtime:'" + bgiOtime + "'," + "bgiKeyword:'" + bgiKeyword
				+ "'," + "bgiState:'" + bgiState + "'}";
	}

	/**
	 * 默认无参构造函数
	 */
	public BaseGoodsInfo() {

	}

	/**
	 * 获取配件名构造函数
	 * 
	 * @param bgiId
	 * @param bgiName
	 */
	public BaseGoodsInfo(String bgiId, String bgiName) {
		super();
		this.bgiId = bgiId;
		this.bgiName = bgiName;
	}
	/**
	 * 是否双向关联
	 */
	protected java.lang.String brgIsDouble;

	public java.lang.String getBrgIsDouble() {
		return this.brgIsDouble;
	}

	public void setBrgIsDouble(java.lang.String brgIsDouble) {
		this.brgIsDouble = brgIsDouble;
	}

	/**
	 * 
	 * <!--构造函数描述-->
	 * @param bgiId
	 * @param bgiName
	 * @param brgIsDouble
	 * @param bgiPrice
	 */
	public BaseGoodsInfo(String bgiId, String bgiName, String brgIsDouble, Double bgiPrice) {
		super();
		this.bgiId = bgiId;
		this.bgiName = bgiName;
		this.brgIsDouble = brgIsDouble;
		this.bgiPrice = bgiPrice;
	}
	/*
	 * 商品分类名称
	 */
	protected java.lang.String bggName;
	/*
	 * 商品品牌名称
	 */
	protected java.lang.String bgbName;
	
	/*
	 * 商品属性ID
	 */
	protected java.lang.String bgaId;
	
	/*
	 * 商品属性价格
	 */
	protected java.lang.Double bgaPrice;
	
	/*
	 * 商品属性值
	 */
	protected java.lang.String bgaValue;
	
	/*
	 * 商品属性类型
	 */
	protected java.lang.String btaName;

	public java.lang.String getBggName() {
		return this.bggName;
	}

	public void setBggName(java.lang.String bggName) {
		this.bggName = bggName;
	}

	public java.lang.String getBgbName() {
		return this.bgbName;
	}

	public void setBgbName(java.lang.String bgbName) {
		this.bgbName = bgbName;
	}

	public java.lang.String getBgaId() {
		return this.bgaId;
	}

	public void setBgaId(java.lang.String bgaId) {
		this.bgaId = bgaId;
	}
	
	public java.lang.Double getBgaPrice() {
		return this.bgaPrice;
	}

	public void setBgaPrice(java.lang.Double bgaPrice) {
		this.bgaPrice = bgaPrice;
	}

	public java.lang.String getBgaValue() {
		return this.bgaValue;
	}

	public void setBgaValue(java.lang.String bgaValue) {
		this.bgaValue = bgaValue;
	}

	public java.lang.String getBtaName() {
		return this.btaName;
	}

	public void setBtaName(java.lang.String btaName) {
		this.btaName = btaName;
	}

	/**
	 * 
	 * @param bgiId
	 * @param bgiName
	 * @param bgiGsn
	 * @param bgiGroup
	 * @param bgiBrand
	 * @param bgiPrice
	 * @param bgiMarket
	 * @param bggName
	 * @param bgbName
	 */
	public BaseGoodsInfo(String bgiId,String bgiName,String bgiGsn,String bgiGroup,String bgiBrand,Double bgiPrice,Double bgiMarket,String bggName,String bgbName) {
		super();
		this.bgiId = bgiId;
		this.bgiName = bgiName;
		this.bgiGsn = bgiGsn;
		this.bgiGroup = bgiGroup;
		this.bgiBrand = bgiBrand;
		this.bgiPrice = bgiPrice;
		this.bgiMarket = bgiMarket;
		this.bggName = bggName;
		this.bgbName = bgbName;
	}
	
	/**
	 * 
	 * 购物车数据构造函数(无商品属性时)
	 * @param bgiId
	 * @param bgiName
	 * @param bgiPrice
	 * @param bgiMarket
	 * @param bgaId
	 * @param bgaPrice
	 * @param bgaValue
	 * @param btaName
	 */
	
	public BaseGoodsInfo(String bgiId, String bgiName, Double bgiPrice,
			Double bgiMarket) {
		super();
		this.bgiId = bgiId;
		this.bgiName = bgiName;
		this.bgiPrice = bgiPrice;
		this.bgiMarket = bgiMarket;
	}
	
	/**
	 * 
	 * 购物车数据构造函数(有商品属性时)
	 * @param bgiId
	 * @param bgiName
	 * @param bgiPrice
	 * @param bgiMarket
	 * @param bgaId
	 * @param bgaPrice
	 * @param bgaValue
	 * @param btaName
	 */
	
	public BaseGoodsInfo(String bgiId, String bgiName, Double bgiPrice,
			Double bgiMarket, String bgaId, Double bgaPrice, String bgaValue,
			String btaName) {
		super();
		this.bgiId = bgiId;
		this.bgiName = bgiName;
		this.bgiPrice = bgiPrice;
		this.bgiMarket = bgiMarket;
		this.bgaId = bgaId;
		this.bgaPrice = bgaPrice;
		this.bgaValue = bgaValue;
		this.btaName = btaName;
	}

	public BaseGoodsInfo(String bgiId, Double bgiPrice,
			Double bgiMarket, String bgaId, Double bgaPrice) {
		super();
		this.bgiId = bgiId;
		this.bgiPrice = bgiPrice;
		this.bgiMarket = bgiMarket;
		this.bgaId = bgaId;
		this.bgaPrice = bgaPrice;
	}

	/**
	 * 
	 * 全参构造函数
	 * @param bgiId
	 * @param bgiName
	 * @param bgiGsn
	 * @param bgiGroup
	 * @param bgiBrand
	 * @param bgiSupplier
	 * @param bgiPrice
	 * @param bgiMarket
	 * @param bgiFeature
	 * @param bgiDetail
	 * @param bgiStandard
	 * @param bgiWeight
	 * @param bgiNumber
	 * @param bgiWarn
	 * @param bgiBest
	 * @param bgiNew
	 * @param bgiHot
	 * @param bgiBuy
	 * @param bgiOn
	 * @param bgiOff
	 * @param bgiOrder
	 * @param bgiOtime
	 * @param bgiKeyword
	 * @param bgiState
	 * @param brgIsDouble
	 * @param bggName
	 * @param bgbName
	 */
	public BaseGoodsInfo(String bgiId, String bgiName, String bgiGsn, String bgiGroup, String bgiBrand, String bgiSupplier,
			Double bgiPrice, Double bgiMarket, String bgiFeature, String bgiDetail, String bgiStandard, Double bgiWeight,
			int bgiNumber, int bgiWarn, int bgiBest, int bgiNew, int bgiHot, int bgiBuy, 
			Date bgiOn, Date bgiOff, int bgiOrder, Date bgiOtime, String bgiKeyword, int bgiState, 
			String brgIsDouble, String bggName, String bgbName) {
		super();
		this.bgiId = bgiId;
		this.bgiName = bgiName;
		this.bgiGsn = bgiGsn;
		this.bgiGroup = bgiGroup;
		this.bgiBrand = bgiBrand;
		this.bgiSupplier = bgiSupplier;
		this.bgiPrice = bgiPrice;
		this.bgiMarket = bgiMarket;
		this.bgiFeature = bgiFeature;
		this.bgiDetail = bgiDetail;
		this.bgiStandard = bgiStandard;
		this.bgiWeight = bgiWeight;
		this.bgiNumber = bgiNumber;
		this.bgiWarn = bgiWarn;
		this.bgiBest = bgiBest;
		this.bgiNew = bgiNew;
		this.bgiHot = bgiHot;
		this.bgiBuy = bgiBuy;
		this.bgiOn = bgiOn;
		this.bgiOff = bgiOff;
		this.bgiOrder = bgiOrder;
		this.bgiOtime = bgiOtime;
		this.bgiKeyword = bgiKeyword;
		this.bgiState = bgiState;
		this.brgIsDouble = brgIsDouble;
		this.bggName = bggName;
		this.bgbName = bgbName;
	}

}